package com.vench.teddy.pojo.bo;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author:vench
 * @Date:2024-09-13 23:38
 */
@Data
public class DirectMessageBO {

    @NotNull(message = "消息队列的exchange不能为空")
    private String exchange;

    @NotNull(message = "消息队列的路由routing不能为空")
    private String routing;

    @NotNull(message = "消息队列的内容routing不能为空")
    private String content;

}
